/*
 * @Description: 一对一消息表
 * @Author: Yong
 * @Date: 2021-10-02 16:02:47
 * @LastEditTime: 2021-10-02 23:10:04
 */

import { EntityModel } from "@midwayjs/orm"
import { Column } from "typeorm"
import { BaseEntity } from "./base.entity"

@EntityModel({ name: "messages" })
export class Messages extends BaseEntity {
    @Column()
    M_FriendID: string

    @Column()
    M_UserID: string

    @Column({ default: null })
    M_Cont: string

    @Column({ default: 0 })
    M_Types: number

    @Column({ default: 1 })
    M_state: number
}
